package com.test.dao;

import com.test.bean.Area;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: xiangty
 * @Date: 2018-11-09
 */
public interface AreaDao {

    /**
     * 列出区域列表
     *
     * @return areaList
     */
    List<Area> queryArea(Map map);

    /**
     *
     * @param area
     * @return
     */
    int insertArea(Area area);

    /**
     *
     * @param area
     * @return
     */
    int updateArea(Area area);

    /**
     *
     * @param areaId
     * @return
     */
    int deleteArea(long areaId);

    /**
     *
     * @param areaIdList
     * @return
     */
    int batchDeleteArea(List<Long> areaIdList);

}
